<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: qwt_plot_spectrocurve.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('qwt__plot__spectrocurve_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">qwt_plot_spectrocurve.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/******************************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Qwt Widget Library</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright (C) 1997   Josef Wilgen</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (C) 2002   Uwe Rathmann</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This library is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *****************************************************************************/</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;qwt_plot_spectrocurve.h&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;qwt_color_map.h&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;qwt_scale_map.h&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;qwt_painter.h&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;qwt_text.h&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;qpainter.h&gt;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160; </div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">class </span>QwtPlotSpectroCurve::PrivateData</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;{</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    PrivateData()</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;        : <a class="code" href="class_qwt_plot_spectro_curve.html#abbaadb09d2aae1d11562a46bcd1a3685">colorRange</a>( 0.0, 1000.0 )</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;        , <a class="code" href="class_qwt_plot_spectro_curve.html#aafb4e49d92780bd8c090b3765b7e0503">penWidth</a>( 0.0 )</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;        , paintAttributes( <a class="code" href="class_qwt_plot_spectro_curve.html">QwtPlotSpectroCurve</a>::<a class="code" href="class_qwt_plot_spectro_curve.html#af6d4c6ae392f3f521db710484a059625ab8586d2301ec1e0888f852bca84c2501">ClipPoints</a> )</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    {</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;        <a class="code" href="class_qwt_plot_spectro_curve.html#a30929df3ca02880543798bf66bae1181">colorMap</a> = <span class="keyword">new</span> <a class="code" href="class_qwt_linear_color_map.html">QwtLinearColorMap</a>();</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    }</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    ~PrivateData()</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    {</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;        <span class="keyword">delete</span> <a class="code" href="class_qwt_plot_spectro_curve.html#a30929df3ca02880543798bf66bae1181">colorMap</a>;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    }</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <a class="code" href="class_qwt_color_map.html">QwtColorMap</a>* <a class="code" href="class_qwt_plot_spectro_curve.html#a30929df3ca02880543798bf66bae1181">colorMap</a>;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <a class="code" href="class_qwt_interval.html">QwtInterval</a> <a class="code" href="class_qwt_plot_spectro_curve.html#abbaadb09d2aae1d11562a46bcd1a3685">colorRange</a>;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <a class="code" href="class_q_vector.html">QVector&lt; QRgb &gt;</a> colorTable;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_qwt_plot_spectro_curve.html#aafb4e49d92780bd8c090b3765b7e0503">penWidth</a>;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <a class="code" href="class_qwt_plot_spectro_curve.html#af77b34db0252290eea5786d58a4f852c">QwtPlotSpectroCurve::PaintAttributes</a> paintAttributes;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;};</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectro_curve.html#a78170049ecb2b6681a107abf26783bd7">   45</a></span>&#160;<a class="code" href="class_qwt_plot_spectro_curve.html#ac8a9caaa74d0398e54b55bbff3836122">QwtPlotSpectroCurve::QwtPlotSpectroCurve</a>( <span class="keyword">const</span> <a class="code" href="class_qwt_text.html">QwtText</a>&amp; title )</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    : <a class="code" href="class_qwt_plot_series_item.html">QwtPlotSeriesItem</a>( title )</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;{</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    init();</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;}</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectro_curve.html#ac8a9caaa74d0398e54b55bbff3836122">   55</a></span>&#160;<a class="code" href="class_qwt_plot_spectro_curve.html#ac8a9caaa74d0398e54b55bbff3836122">QwtPlotSpectroCurve::QwtPlotSpectroCurve</a>( <span class="keyword">const</span> QString&amp; title )</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    : <a class="code" href="class_qwt_plot_series_item.html">QwtPlotSeriesItem</a>( <a class="code" href="class_qwt_text.html">QwtText</a>( title ) )</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;{</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    init();</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;}</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectro_curve.html#a8246490aaa9d47e77f5596f56fb073d6">   62</a></span>&#160;<a class="code" href="class_qwt_plot_spectro_curve.html#a8246490aaa9d47e77f5596f56fb073d6">QwtPlotSpectroCurve::~QwtPlotSpectroCurve</a>()</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;{</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keyword">delete</span> m_data;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;}</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keywordtype">void</span> QwtPlotSpectroCurve::init()</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;{</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <a class="code" href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">setItemAttribute</a>( <a class="code" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176">QwtPlotItem::Legend</a> );</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <a class="code" href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">setItemAttribute</a>( <a class="code" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48">QwtPlotItem::AutoScale</a> );</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    m_data = <span class="keyword">new</span> PrivateData;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <span class="keyword">new</span> <a class="code" href="class_qwt_point3_d_series_data.html">QwtPoint3DSeriesData</a>() );</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <a class="code" href="class_qwt_plot_item.html#a57d90e4146133b59d589c71b3a643e82">setZ</a>( 20.0 );</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;}</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectro_curve.html#acff37758bea45d5f67c84f3607bb815e">   82</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_qwt_plot_spectro_curve.html#acff37758bea45d5f67c84f3607bb815e">QwtPlotSpectroCurve::rtti</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a27c1741ae71fad58da835b747246015d">QwtPlotItem::Rtti_PlotSpectroCurve</a>;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;}</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectro_curve.html#a3a2ddc8e46bc4414b5ce104e7c70f9b4">   94</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectro_curve.html#a3a2ddc8e46bc4414b5ce104e7c70f9b4">QwtPlotSpectroCurve::setPaintAttribute</a>( <a class="code" href="class_qwt_plot_spectro_curve.html#af6d4c6ae392f3f521db710484a059625">PaintAttribute</a> attribute, <span class="keywordtype">bool</span> on )</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;{</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <span class="keywordflow">if</span> ( on )</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        m_data-&gt;paintAttributes |= attribute;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        m_data-&gt;paintAttributes &amp;= ~attribute;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;}</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectro_curve.html#ad9713899faddcfc4cef295304905912a">  106</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_plot_spectro_curve.html#ad9713899faddcfc4cef295304905912a">QwtPlotSpectroCurve::testPaintAttribute</a>( <a class="code" href="class_qwt_plot_spectro_curve.html#af6d4c6ae392f3f521db710484a059625">PaintAttribute</a> attribute )<span class="keyword"> const</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="keywordflow">return</span> ( m_data-&gt;paintAttributes &amp; attribute );</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;}</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectro_curve.html#a668926af2266515a5d82911ac81262ca">  115</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectro_curve.html#a668926af2266515a5d82911ac81262ca">QwtPlotSpectroCurve::setSamples</a>( <span class="keyword">const</span> <a class="code" href="class_q_vector.html">QVector&lt; QwtPoint3D &gt;</a>&amp; samples )</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;{</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <span class="keyword">new</span> <a class="code" href="class_qwt_point3_d_series_data.html">QwtPoint3DSeriesData</a>( samples ) );</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;}</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectro_curve.html#a6374cf95ed6731d098328f2b8c317a8c">  130</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectro_curve.html#a668926af2266515a5d82911ac81262ca">QwtPlotSpectroCurve::setSamples</a>(</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt; QwtPoint3D &gt;</a>* data )</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;{</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <a class="code" href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">data</a> );</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;}</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectro_curve.html#a67d046af16feeddc9bec08c698b46446">  147</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectro_curve.html#a67d046af16feeddc9bec08c698b46446">QwtPlotSpectroCurve::setColorMap</a>( <a class="code" href="class_qwt_color_map.html">QwtColorMap</a>* colorMap )</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;{</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_spectro_curve.html#a30929df3ca02880543798bf66bae1181">colorMap</a> != m_data-&gt;colorMap )</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    {</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        <span class="keyword">delete</span> m_data-&gt;colorMap;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        m_data-&gt;colorMap = <a class="code" href="class_qwt_plot_spectro_curve.html#a30929df3ca02880543798bf66bae1181">colorMap</a>;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    }</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160; </div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    <a class="code" href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">legendChanged</a>();</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;}</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160; </div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectro_curve.html#a30929df3ca02880543798bf66bae1181">  163</a></span>&#160;<span class="keyword">const</span> <a class="code" href="class_qwt_color_map.html">QwtColorMap</a>* <a class="code" href="class_qwt_plot_spectro_curve.html#a30929df3ca02880543798bf66bae1181">QwtPlotSpectroCurve::colorMap</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;colorMap;</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;}</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160; </div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectro_curve.html#a133f4117e925a1faed456bd9524477e4">  176</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectro_curve.html#a133f4117e925a1faed456bd9524477e4">QwtPlotSpectroCurve::setColorRange</a>( <span class="keyword">const</span> <a class="code" href="class_qwt_interval.html">QwtInterval</a>&amp; interval )</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;{</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <span class="keywordflow">if</span> ( interval != m_data-&gt;colorRange )</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;    {</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        m_data-&gt;colorRange = interval;</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160; </div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;        <a class="code" href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">legendChanged</a>();</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;        <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    }</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;}</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160; </div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectro_curve.html#abbaadb09d2aae1d11562a46bcd1a3685">  191</a></span>&#160;<a class="code" href="class_qwt_interval.html">QwtInterval</a>&amp; <a class="code" href="class_qwt_plot_spectro_curve.html#abbaadb09d2aae1d11562a46bcd1a3685">QwtPlotSpectroCurve::colorRange</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;colorRange;</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;}</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160; </div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectro_curve.html#ace1f7f5f8322996d6f8bddfd94380887">  202</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectro_curve.html#ace1f7f5f8322996d6f8bddfd94380887">QwtPlotSpectroCurve::setPenWidth</a>(<span class="keywordtype">double</span> penWidth)</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;{</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_spectro_curve.html#aafb4e49d92780bd8c090b3765b7e0503">penWidth</a> &lt; 0.0 )</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;        <a class="code" href="class_qwt_plot_spectro_curve.html#aafb4e49d92780bd8c090b3765b7e0503">penWidth</a> = 0.0;</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160; </div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;penWidth != <a class="code" href="class_qwt_plot_spectro_curve.html#aafb4e49d92780bd8c090b3765b7e0503">penWidth</a> )</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    {</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        m_data-&gt;penWidth = <a class="code" href="class_qwt_plot_spectro_curve.html#aafb4e49d92780bd8c090b3765b7e0503">penWidth</a>;</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160; </div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;        <a class="code" href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">legendChanged</a>();</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;        <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    }</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;}</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160; </div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectro_curve.html#aafb4e49d92780bd8c090b3765b7e0503">  220</a></span>&#160;<span class="keywordtype">double</span> <a class="code" href="class_qwt_plot_spectro_curve.html#aafb4e49d92780bd8c090b3765b7e0503">QwtPlotSpectroCurve::penWidth</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;penWidth;</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;}</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160; </div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectro_curve.html#a24415620a4f777f67ee3735902c398c1">  238</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectro_curve.html#a24415620a4f777f67ee3735902c398c1">QwtPlotSpectroCurve::drawSeries</a>( QPainter* painter,</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; yMap,</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    <span class="keyword">const</span> QRectF&amp; canvasRect, <span class="keywordtype">int</span> from, <span class="keywordtype">int</span> to )<span class="keyword"> const</span></div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    <span class="keywordflow">if</span> ( !painter || <a class="code" href="class_qwt_series_store.html#a6391ad8acc1b3946006451f54a6558de">dataSize</a>() &lt;= 0 )</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160; </div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;    <span class="keywordflow">if</span> ( to &lt; 0 )</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;        to = <a class="code" href="class_qwt_series_store.html#a6391ad8acc1b3946006451f54a6558de">dataSize</a>() - 1;</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160; </div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;    <span class="keywordflow">if</span> ( from &lt; 0 )</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;        from = 0;</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160; </div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    <span class="keywordflow">if</span> ( from &gt; to )</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160; </div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    <a class="code" href="class_qwt_plot_spectro_curve.html#a859a76f4c5e85e5d64bb2dbc24079811">drawDots</a>( painter, xMap, yMap, canvasRect, from, to );</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;}</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160; </div>
<div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="class_qwt_plot_spectro_curve.html#a859a76f4c5e85e5d64bb2dbc24079811">  270</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_spectro_curve.html#a859a76f4c5e85e5d64bb2dbc24079811">QwtPlotSpectroCurve::drawDots</a>( QPainter* painter,</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; yMap,</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    <span class="keyword">const</span> QRectF&amp; canvasRect, <span class="keywordtype">int</span> from, <span class="keywordtype">int</span> to )<span class="keyword"> const</span></div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    <span class="keywordflow">if</span> ( !m_data-&gt;colorRange.isValid() )</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160; </div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">bool</span> doAlign = <a class="code" href="class_qwt_painter.html#ae9af230df7bb8d40b802d4f3205a8631">QwtPainter::roundingAlignment</a>( painter );</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160; </div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670">QwtColorMap::Format</a> format = m_data-&gt;colorMap-&gt;format();</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;    <span class="keywordflow">if</span> ( format == <a class="code" href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a304cb055c004223ca77f1a4cbbf27ea2">QwtColorMap::Indexed</a> )</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;        m_data-&gt;colorTable = m_data-&gt;colorMap-&gt;colorTable256();</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160; </div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt; QwtPoint3D &gt;</a>* series = <a class="code" href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">data</a>();</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160; </div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;    <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = from; i &lt;= to; i++ )</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;    {</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;        <span class="keyword">const</span> <a class="code" href="class_qwt_point3_d.html">QwtPoint3D</a> <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a> = series-&gt;<a class="code" href="class_qwt_series_data.html#ae8650d16c07c58f01897ab48658a3266">sample</a>( i );</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160; </div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;        <span class="keywordtype">double</span> xi = xMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a>.<a class="code" href="class_qwt_point3_d.html#ac0aeba53b7fb6c297b51b8d123699c1f">x</a>() );</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;        <span class="keywordtype">double</span> yi = yMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a>.<a class="code" href="class_qwt_point3_d.html#a2de6393c8dca6befa27098c8e7db552e">y</a>() );</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;        <span class="keywordflow">if</span> ( doAlign )</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;        {</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;            xi = qRound( xi );</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;            yi = qRound( yi );</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;        }</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160; </div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;        <span class="keywordflow">if</span> ( m_data-&gt;paintAttributes &amp; <a class="code" href="class_qwt_plot_spectro_curve.html#af6d4c6ae392f3f521db710484a059625ab8586d2301ec1e0888f852bca84c2501">QwtPlotSpectroCurve::ClipPoints</a> )</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        {</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;            <span class="keywordflow">if</span> ( !canvasRect.contains( xi, yi ) )</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;                <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;        }</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160; </div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;        <span class="keywordflow">if</span> ( format == <a class="code" href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a663473fd836d9a84fe48ae1755de326a">QwtColorMap::RGB</a> )</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;        {</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;            <span class="keyword">const</span> QRgb rgb = m_data-&gt;colorMap-&gt;rgb(</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;                m_data-&gt;colorRange, <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a>.<a class="code" href="class_qwt_point3_d.html#a0741e74f4f553e99e6abbc18aa7d541c">z</a>() );</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160; </div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;            painter-&gt;setPen( QPen( QColor::fromRgba( rgb ), m_data-&gt;penWidth ) );</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;        }</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;        {</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> index = m_data-&gt;colorMap-&gt;colorIndex(</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;                256, m_data-&gt;colorRange, <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a>.<a class="code" href="class_qwt_point3_d.html#a0741e74f4f553e99e6abbc18aa7d541c">z</a>() );</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160; </div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;            painter-&gt;setPen( QPen( QColor::fromRgba( m_data-&gt;colorTable[index] ),</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;                m_data-&gt;penWidth ) );</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;        }</div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160; </div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;        <a class="code" href="class_qwt_painter.html#ab2e88f78d51387c661a9e10352ab945c">QwtPainter::drawPoint</a>( painter, QPointF( xi, yi ) );</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    }</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160; </div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;    m_data-&gt;colorTable.clear();</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;}</div>
<div class="ttc" id="aclass_q_vector_html"><div class="ttname"><a href="class_q_vector.html">QVector&lt; QRgb &gt;</a></div></div>
<div class="ttc" id="aclass_qwt_color_map_html"><div class="ttname"><a href="class_qwt_color_map.html">QwtColorMap</a></div><div class="ttdoc">QwtColorMap is used to map values into colors.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__color__map_8h_source.html#l00037">qwt_color_map.h:38</a></div></div>
<div class="ttc" id="aclass_qwt_color_map_html_a9e5570790910fa3894887bca7dc5a670"><div class="ttname"><a href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670">QwtColorMap::Format</a></div><div class="ttdeci">Format</div><div class="ttdef"><b>Definition:</b> <a href="qwt__color__map_8h_source.html#l00045">qwt_color_map.h:46</a></div></div>
<div class="ttc" id="aclass_qwt_color_map_html_a9e5570790910fa3894887bca7dc5a670a304cb055c004223ca77f1a4cbbf27ea2"><div class="ttname"><a href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a304cb055c004223ca77f1a4cbbf27ea2">QwtColorMap::Indexed</a></div><div class="ttdeci">@ Indexed</div><div class="ttdef"><b>Definition:</b> <a href="qwt__color__map_8h_source.html#l00061">qwt_color_map.h:60</a></div></div>
<div class="ttc" id="aclass_qwt_color_map_html_a9e5570790910fa3894887bca7dc5a670a663473fd836d9a84fe48ae1755de326a"><div class="ttname"><a href="class_qwt_color_map.html#a9e5570790910fa3894887bca7dc5a670a663473fd836d9a84fe48ae1755de326a">QwtColorMap::RGB</a></div><div class="ttdeci">@ RGB</div><div class="ttdoc">The map is intended to map into RGB values.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__color__map_8h_source.html#l00048">qwt_color_map.h:48</a></div></div>
<div class="ttc" id="aclass_qwt_interval_html"><div class="ttname"><a href="class_qwt_interval.html">QwtInterval</a></div><div class="ttdoc">A class representing an interval.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval_8h_source.html#l00022">qwt_interval.h:23</a></div></div>
<div class="ttc" id="aclass_qwt_linear_color_map_html"><div class="ttname"><a href="class_qwt_linear_color_map.html">QwtLinearColorMap</a></div><div class="ttdoc">QwtLinearColorMap builds a color map from color stops.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__color__map_8h_source.html#l00098">qwt_color_map.h:99</a></div></div>
<div class="ttc" id="aclass_qwt_painter_html_ab2e88f78d51387c661a9e10352ab945c"><div class="ttname"><a href="class_qwt_painter.html#ab2e88f78d51387c661a9e10352ab945c">QwtPainter::drawPoint</a></div><div class="ttdeci">static void drawPoint(QPainter *, const QPoint &amp;)</div><div class="ttdoc">Wrapper for QPainter::drawPoint()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__painter_8cpp_source.html#l00691">qwt_painter.cpp:691</a></div></div>
<div class="ttc" id="aclass_qwt_painter_html_ae9af230df7bb8d40b802d4f3205a8631"><div class="ttname"><a href="class_qwt_painter.html#ae9af230df7bb8d40b802d4f3205a8631">QwtPainter::roundingAlignment</a></div><div class="ttdeci">static bool roundingAlignment()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__painter_8h_source.html#l00183">qwt_painter.h:183</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_a3967414c7542e267d0c2793f02be7241"><div class="ttname"><a href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">QwtPlotItem::legendChanged</a></div><div class="ttdeci">virtual void legendChanged()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00491">qwt_plot_item.cpp:491</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_a57d90e4146133b59d589c71b3a643e82"><div class="ttname"><a href="class_qwt_plot_item.html#a57d90e4146133b59d589c71b3a643e82">QwtPlotItem::setZ</a></div><div class="ttdeci">void setZ(double z)</div><div class="ttdoc">Set the z value.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00165">qwt_plot_item.cpp:165</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_a5a335be8ff488809a2cf7f4b734ad1b6"><div class="ttname"><a href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">QwtPlotItem::setItemAttribute</a></div><div class="ttdeci">void setItemAttribute(ItemAttribute, bool on=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00228">qwt_plot_item.cpp:228</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_ab149ac85e233ce9cedf2f2f2af871bf3a27c1741ae71fad58da835b747246015d"><div class="ttname"><a href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a27c1741ae71fad58da835b747246015d">QwtPlotItem::Rtti_PlotSpectroCurve</a></div><div class="ttdeci">@ Rtti_PlotSpectroCurve</div><div class="ttdoc">For QwtPlotSpectroCurve.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8h_source.html#l00096">qwt_plot_item.h:96</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_ad956fdbce5b0721abccce6d09fe4d5ce"><div class="ttname"><a href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">QwtPlotItem::itemChanged</a></div><div class="ttdeci">virtual void itemChanged()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00481">qwt_plot_item.cpp:481</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176"><div class="ttname"><a href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176">QwtPlotItem::Legend</a></div><div class="ttdeci">@ Legend</div><div class="ttdoc">The item is represented on the legend.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8h_source.html#l00150">qwt_plot_item.h:150</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48"><div class="ttname"><a href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48">QwtPlotItem::AutoScale</a></div><div class="ttdeci">@ AutoScale</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8h_source.html#l00157">qwt_plot_item.h:157</a></div></div>
<div class="ttc" id="aclass_qwt_plot_series_item_html"><div class="ttname"><a href="class_qwt_plot_series_item.html">QwtPlotSeriesItem</a></div><div class="ttdoc">Base class for plot items representing a series of samples.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__seriesitem_8h_source.html#l00024">qwt_plot_seriesitem.h:26</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html">QwtPlotSpectroCurve</a></div><div class="ttdoc">Curve that displays 3D points as dots, where the z coordinate is mapped to a color.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8h_source.html#l00022">qwt_plot_spectrocurve.h:25</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_a133f4117e925a1faed456bd9524477e4"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#a133f4117e925a1faed456bd9524477e4">QwtPlotSpectroCurve::setColorRange</a></div><div class="ttdeci">void setColorRange(const QwtInterval &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8cpp_source.html#l00176">qwt_plot_spectrocurve.cpp:176</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_a24415620a4f777f67ee3735902c398c1"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#a24415620a4f777f67ee3735902c398c1">QwtPlotSpectroCurve::drawSeries</a></div><div class="ttdeci">virtual void drawSeries(QPainter *, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QRectF &amp;canvasRect, int from, int to) const override</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8cpp_source.html#l00238">qwt_plot_spectrocurve.cpp:238</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_a30929df3ca02880543798bf66bae1181"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#a30929df3ca02880543798bf66bae1181">QwtPlotSpectroCurve::colorMap</a></div><div class="ttdeci">const QwtColorMap * colorMap() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8cpp_source.html#l00163">qwt_plot_spectrocurve.cpp:163</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_a3a2ddc8e46bc4414b5ce104e7c70f9b4"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#a3a2ddc8e46bc4414b5ce104e7c70f9b4">QwtPlotSpectroCurve::setPaintAttribute</a></div><div class="ttdeci">void setPaintAttribute(PaintAttribute, bool on=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8cpp_source.html#l00094">qwt_plot_spectrocurve.cpp:94</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_a668926af2266515a5d82911ac81262ca"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#a668926af2266515a5d82911ac81262ca">QwtPlotSpectroCurve::setSamples</a></div><div class="ttdeci">void setSamples(const QVector&lt; QwtPoint3D &gt; &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8cpp_source.html#l00115">qwt_plot_spectrocurve.cpp:115</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_a67d046af16feeddc9bec08c698b46446"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#a67d046af16feeddc9bec08c698b46446">QwtPlotSpectroCurve::setColorMap</a></div><div class="ttdeci">void setColorMap(QwtColorMap *)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8cpp_source.html#l00147">qwt_plot_spectrocurve.cpp:147</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_a8246490aaa9d47e77f5596f56fb073d6"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#a8246490aaa9d47e77f5596f56fb073d6">QwtPlotSpectroCurve::~QwtPlotSpectroCurve</a></div><div class="ttdeci">virtual ~QwtPlotSpectroCurve()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8cpp_source.html#l00062">qwt_plot_spectrocurve.cpp:62</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_a859a76f4c5e85e5d64bb2dbc24079811"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#a859a76f4c5e85e5d64bb2dbc24079811">QwtPlotSpectroCurve::drawDots</a></div><div class="ttdeci">virtual void drawDots(QPainter *, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QRectF &amp;canvasRect, int from, int to) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8cpp_source.html#l00270">qwt_plot_spectrocurve.cpp:270</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_aafb4e49d92780bd8c090b3765b7e0503"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#aafb4e49d92780bd8c090b3765b7e0503">QwtPlotSpectroCurve::penWidth</a></div><div class="ttdeci">double penWidth() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8cpp_source.html#l00220">qwt_plot_spectrocurve.cpp:220</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_abbaadb09d2aae1d11562a46bcd1a3685"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#abbaadb09d2aae1d11562a46bcd1a3685">QwtPlotSpectroCurve::colorRange</a></div><div class="ttdeci">QwtInterval &amp; colorRange() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8cpp_source.html#l00191">qwt_plot_spectrocurve.cpp:191</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_ac8a9caaa74d0398e54b55bbff3836122"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#ac8a9caaa74d0398e54b55bbff3836122">QwtPlotSpectroCurve::QwtPlotSpectroCurve</a></div><div class="ttdeci">QwtPlotSpectroCurve(const QString &amp;title=QString())</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8cpp_source.html#l00055">qwt_plot_spectrocurve.cpp:55</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_ace1f7f5f8322996d6f8bddfd94380887"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#ace1f7f5f8322996d6f8bddfd94380887">QwtPlotSpectroCurve::setPenWidth</a></div><div class="ttdeci">void setPenWidth(double)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8cpp_source.html#l00202">qwt_plot_spectrocurve.cpp:202</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_acff37758bea45d5f67c84f3607bb815e"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#acff37758bea45d5f67c84f3607bb815e">QwtPlotSpectroCurve::rtti</a></div><div class="ttdeci">virtual int rtti() const override</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8cpp_source.html#l00082">qwt_plot_spectrocurve.cpp:82</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_ad9713899faddcfc4cef295304905912a"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#ad9713899faddcfc4cef295304905912a">QwtPlotSpectroCurve::testPaintAttribute</a></div><div class="ttdeci">bool testPaintAttribute(PaintAttribute) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8cpp_source.html#l00106">qwt_plot_spectrocurve.cpp:106</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_af6d4c6ae392f3f521db710484a059625"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#af6d4c6ae392f3f521db710484a059625">QwtPlotSpectroCurve::PaintAttribute</a></div><div class="ttdeci">PaintAttribute</div><div class="ttdoc">Paint attributes.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8h_source.html#l00028">qwt_plot_spectrocurve.h:29</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_af6d4c6ae392f3f521db710484a059625ab8586d2301ec1e0888f852bca84c2501"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#af6d4c6ae392f3f521db710484a059625ab8586d2301ec1e0888f852bca84c2501">QwtPlotSpectroCurve::ClipPoints</a></div><div class="ttdeci">@ ClipPoints</div><div class="ttdoc">Clip points outside the canvas rectangle.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8h_source.html#l00032">qwt_plot_spectrocurve.h:31</a></div></div>
<div class="ttc" id="aclass_qwt_plot_spectro_curve_html_af77b34db0252290eea5786d58a4f852c"><div class="ttname"><a href="class_qwt_plot_spectro_curve.html#af77b34db0252290eea5786d58a4f852c">QwtPlotSpectroCurve::PaintAttributes</a></div><div class="ttdeci">QFlags&lt; PaintAttribute &gt; PaintAttributes</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__spectrocurve_8h_source.html#l00034">qwt_plot_spectrocurve.h:34</a></div></div>
<div class="ttc" id="aclass_qwt_point3_d_html"><div class="ttname"><a href="class_qwt_point3_d.html">QwtPoint3D</a></div><div class="ttdoc">QwtPoint3D class defines a 3D point in double coordinates.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__3d_8h_source.html#l00022">qwt_point_3d.h:23</a></div></div>
<div class="ttc" id="aclass_qwt_point3_d_html_a0741e74f4f553e99e6abbc18aa7d541c"><div class="ttname"><a href="class_qwt_point3_d.html#a0741e74f4f553e99e6abbc18aa7d541c">QwtPoint3D::z</a></div><div class="ttdeci">double z() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__3d_8h_source.html#l00115">qwt_point_3d.h:115</a></div></div>
<div class="ttc" id="aclass_qwt_point3_d_html_a2de6393c8dca6befa27098c8e7db552e"><div class="ttname"><a href="class_qwt_point3_d.html#a2de6393c8dca6befa27098c8e7db552e">QwtPoint3D::y</a></div><div class="ttdeci">double y() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__3d_8h_source.html#l00109">qwt_point_3d.h:109</a></div></div>
<div class="ttc" id="aclass_qwt_point3_d_html_ac0aeba53b7fb6c297b51b8d123699c1f"><div class="ttname"><a href="class_qwt_point3_d.html#ac0aeba53b7fb6c297b51b8d123699c1f">QwtPoint3D::x</a></div><div class="ttdeci">double x() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__3d_8h_source.html#l00103">qwt_point_3d.h:103</a></div></div>
<div class="ttc" id="aclass_qwt_point3_d_series_data_html"><div class="ttname"><a href="class_qwt_point3_d_series_data.html">QwtPoint3DSeriesData</a></div><div class="ttdoc">Interface for iterating over an array of 3D points.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__series__data_8h_source.html#l00219">qwt_series_data.h:220</a></div></div>
<div class="ttc" id="aclass_qwt_scale_map_html"><div class="ttname"><a href="class_qwt_scale_map.html">QwtScaleMap</a></div><div class="ttdoc">A scale map.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__map_8h_source.html#l00026">qwt_scale_map.h:27</a></div></div>
<div class="ttc" id="aclass_qwt_scale_map_html_a504f1627e0e02ddac03d2ce46507b865"><div class="ttname"><a href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">QwtScaleMap::transform</a></div><div class="ttdeci">double transform(double s) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__map_8h_source.html#l00137">qwt_scale_map.h:137</a></div></div>
<div class="ttc" id="aclass_qwt_series_data_html"><div class="ttname"><a href="class_qwt_series_data.html">QwtSeriesData</a></div><div class="ttdoc">Abstract interface for iterating over samples.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__series__data_8h_source.html#l00049">qwt_series_data.h:50</a></div></div>
<div class="ttc" id="aclass_qwt_series_data_html_ae8650d16c07c58f01897ab48658a3266"><div class="ttname"><a href="class_qwt_series_data.html#ae8650d16c07c58f01897ab48658a3266">QwtSeriesData::sample</a></div><div class="ttdeci">virtual T sample(size_t i) const =0</div></div>
<div class="ttc" id="aclass_qwt_series_store_html_a09f98212173ac6de604d8b63ebf6bb0a"><div class="ttname"><a href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">QwtSeriesStore&lt; QwtPoint3D &gt;::sample</a></div><div class="ttdeci">QwtPoint3D sample(int index) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__series__store_8h_source.html#l00097">qwt_series_store.h:158</a></div></div>
<div class="ttc" id="aclass_qwt_series_store_html_a6391ad8acc1b3946006451f54a6558de"><div class="ttname"><a href="class_qwt_series_store.html#a6391ad8acc1b3946006451f54a6558de">QwtSeriesStore&lt; QwtPoint3D &gt;::dataSize</a></div><div class="ttdeci">virtual size_t dataSize() const override</div><div class="ttdef"><b>Definition:</b> <a href="qwt__series__store_8h_source.html#l00103">qwt_series_store.h:175</a></div></div>
<div class="ttc" id="aclass_qwt_series_store_html_aae258d330c8d1bd2057b1f0bc13700f9"><div class="ttname"><a href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">QwtSeriesStore&lt; QwtPoint3D &gt;::data</a></div><div class="ttdeci">QwtSeriesData&lt; QwtPoint3D &gt; * data()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__series__store_8h_source.html#l00088">qwt_series_store.h:146</a></div></div>
<div class="ttc" id="aclass_qwt_series_store_html_add3ce83fe90e976b75a0ebaa79caee4c"><div class="ttname"><a href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">QwtSeriesStore&lt; QwtPoint3D &gt;::setData</a></div><div class="ttdeci">void setData(QwtSeriesData&lt; QwtPoint3D &gt; *series)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__series__store_8h_source.html#l00085">qwt_series_store.h:164</a></div></div>
<div class="ttc" id="aclass_qwt_text_html"><div class="ttname"><a href="class_qwt_text.html">QwtText</a></div><div class="ttdoc">A class representing a text.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__text_8h_source.html#l00051">qwt_text.h:52</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>qwt_plot_spectrocurve.cpp</b></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
